<?php
$fileCSV =  PATH_CONTROL_ADMIN."auctions.csv";
			$fileINI = PATH_CONTROL_ADMIN."auction.ini";
			
			$handle = fopen($fileCSV, "r");
			$handle2 = fopen($fileINI,'w');
			
			$sDataConvert = "";
			$num_row=0;
			while (($data = fgetcsv($handle, 3000, ",")) !== FALSE && $num_row<1) 
			{
			$num = count($data);
			
			foreach ($data as $row)
			{
				
				$row=mb_convert_encoding($row,"UTF-8","SJIS");
				print_r($row);
				$sDataConvert.="=\"$row\";\r\n";
			}
			//if(trim($data[1])!=""){
			//$sDataConvert .= "{$data[0]} = \"{$data[2]}\" \r\n";
			//}
			//else
			//{
			//$sDataConvert .= "{$data[0]}\r\n";
			//}
			$num_row++;
			}
			fwrite($handle2,$sDataConvert);
			fclose($handle);
	?>